package com.woniuxy01;

/**
 * @author 作者
 * @create 2025-05-28 9:52
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.name="zs";
        s1.age=12;
        System.out.println(s1.name);
        System.out.println(s1.age);
        s1.show();

        Student s2 = new Student();
        s2.name="ls";
        s2.age=13;
        s2.show();
        s1=s2;
        s2.name="lsx";
        s1.show();
        s2.show();
    }
}
